Skip to content

Conversation

oscarba
Copy link
Member

@oscarba oscarba commented Nov 7, 2026

Closes #34

What

  • Detail page on /vin/:id with facts, food pairing and the community rating in Norwegian
  • Grapes and food link to the search
  • Back link returns to the same search, also after a reload
  • Shared HeartIcon component
  • Invalid ids show "Fant ikke vinen" without a request
  • Only plain http and https links are shown from the dataset

Fixes

  • Visible border on "Vil prøve" and "Last inn flere" in dark mode
  • Removed a race in the e2e test for the skip link

Testing

  • 188 unit tests and 40 e2e tests pass, and the coverage limits pass
  • Tested manually against the backend on the VM

Known issues

  • Countries on the wine cards are still in English
  • Student reviews are added with the reviews feature
  • JavaScript on the landing page is 154.89 kB, over the 150 kB budget

Oscar Bakkeng and others added 4 commits November 7, 2026 17:38
The brand colour gave too little contrast against the dark background.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tab could run before React had rendered the link, which made the test
fail now and then.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Shows facts, food pairing and the community rating in Norwegian, with
grapes and food linking to the search. The wine card passes along where
the user came from, so the back link returns to the same search. Ids that
cannot match a wine give "Fant ikke vinen" without a request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@oscarba oscarba requested a review from a team as a code owner November 7, 2026 16:42
@oscarba oscarba linked an issue Nov 7, 2026 that may be closed by this pull request
@oscarba oscarba changed the base branch from main to dev-frontend November 7, 2026 16:43
@oscarba oscarba merged commit abd5801 into dev-frontend Nov 7, 2026
@oscarba oscarba deleted the wine-detail-page branch November 7, 2026 16:43
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Detail page frontend
1 participant